package com.winter.boot.controller;

import com.winter.boot.annotation.Controller;
import com.winter.boot.annotation.RequestMapping;
import com.winter.boot.annotation.Resource;
import com.winter.boot.service.UserServiceImpl;

@Controller("/user")
public class UserController {

    @Resource
    private UserServiceImpl userService;

    @RequestMapping("/users")
    public String getUser(){
        return this.userService.method();
    }

}
